Used by the language engine to delegate IDebugCodeContext::GetSourceContext.
HRESULT GetDocumentContextFromPosition( DWORD_PTR dwSourceContext, ULONG uCharacterOffset, ULONG uNumChars, IDebugDocumentContext** ppsc ); |
Parameters
- dwSourceContext
-
[in] The source content as provided to ParseScriptText or AddScriptlet.
- uCharacterOffset
-
[in] Character offset relative to start of script block or scriptlet.
- uNumChars
-
[in] Number of characters in this context.
- ppsc
-
[out] The document context corresponding to this character-position range.